<form action="register" method="post">
    <div class="form-group">
        <label for="username">用户名</label>
        <input type="text" class="form-control" id="username" name="username" placeholder="username">
    </div>
    <div class="form-group">
        <label for="nickname">昵称</label>
        <input type="text" class="form-control" id="nickname" name="nickname" placeholder="nickname">
    </div>
    <div class="form-group">
        <label for="Password">密码</label>
        <input type="password" class="form-control" id="Password" name="password" placeholder="Password">
    </div>
    <div class="form-group">
        <label for="Password_confirm">确认密码</label>
        <input type="password" class="form-control" id="Password_confirm" name="password_confirm"
               placeholder="Password_confirm">
    </div>
    <div class="form-group">
        <label for="captcha">验证码</label>
        <input type="text" class="form-control" id="captcha" name="captcha"
               placeholder="captcha">
        <span><img src="/index/user/code" alt="验证码"></span>
    </div>
    <button type="submit" class="btn btn-default">注册</button>
</form>
